package ar.edu.utn.frba.dds.aterrizar.domain.fechas;

import java.text.SimpleDateFormat;
import java.util.Date;


public class Norteamericano extends Formato {
	
	public SimpleDateFormat getFormato() {
		return new SimpleDateFormat("MM-dd-yyyy");
	}

	public String parse(Date date) {
		String[] dateWords = getDateWords(date);
		return dateWords[1] + "-" + dateWords[2] + "-" + dateWords[5];
	}
	
}